<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">  
  <meta name="apple-mobile-web-app-capable" content="yes" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <title></title>
  <!-- 页面级（静态资源）loading 样式文件 -->
  <link rel="stylesheet" href="/resource/pc-fe-static/css/page-loading.css?v=20220411.0001">
  <link rel="stylesheet" href="/resource/plugins/swiper/swiper.min.css">
  <script type="text/javascript">if(/DingTalk/.test(navigator.userAgent)){document.write('<script src="//g.alicdn.com/dingding/dingtalk-pc-api/2.8.0/index.js"><\/script>')}</script>
  <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js" referrerpolicy="origin"></script>
  <script src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js" referrerpolicy="origin"></script>
  <style>
    .app {
      height: 100%;
    }
  </style>
</head>
<body>
  <!-- 动态渲染页面级（静态资源）loading -->
  <%= htmlWebpackPlugin.options.isShowPageLoading %>

  <div id="app"></div>

  <script>
    var hasRemove = localStorage.getItem('remove_worktime_time')
    if (!hasRemove) {
      localStorage.removeItem('shb_pc_setting')
      localStorage.setItem('remove_worktime_time', 1)
    }
    // var ua = window.navigator.userAgent.toLowerCase();
    // if (ua.indexOf('wxwork') > 0 || ua.indexOf('micromessenger') > 0) {
    //   // 企业微信
    //   document.write('<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"><\/script>');
    //   document.write('<script type="text/javascript" src="https://open.work.weixin.qq.com/wwopen/js/jwxwork-1.0.0.js"><\/script>');
    // }
  </script>
  <script src="/resource/dingtalk/dingtalkUtil-v2.js?v=20210506.2052"></script>
  <!-- <script src="https://webapi.amap.com/maps?v=1.3&key=34a87903ee2dff36f84744786f7e8c35"></script> -->
  <script src="https://static.shb.ltd/base64/base64.min.js"></script>
  <script type="text/javascript">
    window._AMapSecurityConfig = {
    serviceHost:'https://cloud.shb.ltd/_AMapService',   
        // 例如 ：serviceHost:'http://1.1.1.1:80/_AMapService',
    }
  </script>
  <script src="https://webapi.amap.com/loader.js"></script>
  <script type="text/javascript" >
    let __initAmap = () => {
        return new Promise((resolve, reject) => {
          AMapLoader.load({
            plugins: ['AMap.ToolBar', 'AMap.Driving', 'AMap.PlaceSearch', 'AMap.Geocoder', 'AMap.Geolocation'],
            key: '811588be3c76d165ff1b16c738065a7b', // 申请好的Web端开发者Key，首次调用 load 时必填
            version: '1.4.15', // 指定要加载的 JSAPI 的版本，缺省时默认为 1.4.15
            "AMapUI": {             // 是否加载 AMapUI，缺省不加载
                "version": '1.0',   // AMapUI 版本
                "plugins":['geo/DistrictExplorer'],       // 需要加载的 AMapUI ui插件
            },
          })
            .then(AMap => {
              resolve()
              console.log('*****AMapLoader success*****', AMap);
            })
            .catch(e => {
              reject()
              console.error('*****AMapLoader error*****', e); //加载错误提示
            });
        });
      };
      __initAmap();
  </script>
  <!-- tiny富文本 -->
  <script src="https://static.shb.ltd/tinymce/5.10.4.tinymce.min.js"></script>
  <script src="/resource/plugins/jQuery/jquery-3.6.0.min.js"></script>
  <script src="/resource/plugins/daterangepicker/moment-2.29.4.min.js"></script>
  <script src="/resource/plugins/daterangepicker/daterangepicker.js"></script>
  <script src="/resource/plugins/swiper/swiper.min.js"></script>
  <!-- 智齿呼叫中心 -->
  <script src="https://www.soboten.com/paas/component/common/jquery.json-2.4.min.js"></script>
  <script src="https://www.soboten.com/paas/component/common/verto-min-1.1.js"></script>
  <script src="https://www.soboten.com/paas/component/plugin/call_1.8.js"></script>

  <!-- 全局提示 -->
  <script src="https://file.shb.ltd/shb-resource/js/baseTip.js"></script>
  <link rel="stylesheet" type="text/css" href="https://file.shb.ltd/shb-resource/js/baseTip.css" >
</body>
</html>